package com.sq.bootshiro.modules.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Builder
@TableName(value = "tb_log_user_login")
public class LogUserLogin {
    private static final long serialVersionUID = 1L;


    @TableId(type = IdType.AUTO)
    private int id;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 登录时间
     */
    private LocalDateTime loginTime;

    /**
     * 登录ip
     */
    private String loginIp;

    /**
     * 登录来源  0:PC 1:webapp 2:App 3:微信 4:IOS
     */
    private String loginSrc;

    /**
     * 登录情况
     */
    private String loginStatus;

    /**
     * 登录备注
     */
    private String loginRemark;
}
